//调用接口配置文件
import { request } from 'config/request'
// 定义接口

// export async function queryAllAddress(params) {
//     return request({
//         url: 'admin/address/queryAllAddress',
//         method: 'GET',
//         data: params,
//     });
// };
// export async function winningExportXls(params) {
//     return request({
//         url: 'mideadc-game-center-service/activity/gameActivityUserPrize/exportXls',
//         responseType: 'blob',
//         method: 'get',
//         data: params,
//     });
// };


export async function prizeRedeem(params) {
    return request({
        url: 'mideadc-game-center-service/activity/gameActivityUserPrize/redeem',
        method: 'post',
        data: params,
    });
};
